package com.hl.manage.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Helei
 * @since 2021-03-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mn_group")
@ApiModel(value="Group对象", description="")
public class Group implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    private Integer companyId;
    
    private String name;

    private String menuIdlist;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private LocalDateTime deleteTime;

	@Override
	public String toString() {
		return "{\"id\":\"" + id + "\",\"companyId\":\"" + companyId + "\",\"name\":\"" + name + "\",\"menuIdlist\":\""
				+ menuIdlist + "\",\"createTime\":\"" + createTime + "\",\"updateTime\":\"" + updateTime
				+ "\",\"deleteTime\":\"" + deleteTime + "\"}";
	}


}
